<!DOCTYPE html>
<!-- Test passes if doesn't crash. -->
<style>
.sw {
    filter: blur(4px);
}
.hw {
    filter: blur(3px);
    transform:translateZ(0);
}
</style>
<img class='sw' src="resources/reference.png">
PASS if test does not crash or cause an ASSERT failure.
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
    // force a layout
    document.body.offsetTop;
    var img = document.getElementsByTagName('img')[0];
    img.className = 'hw';
    // force a layout
    document.body.offsetTop;
    img.className = 'sw';
</script>
